package com.mc.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.mc.model.ScienceDirection;
import com.mc.model.ScienceDirectionWithBLOBs;

public interface ScienceDirectionMapper {
    int deleteByPrimaryKey(Integer directionId);

    void insert(Map<String,Object> record);

    int insertSelective(ScienceDirectionWithBLOBs record);

    ScienceDirectionWithBLOBs selectByPrimaryKey(Integer directionId);

    int updateByPrimaryKeySelective(ScienceDirectionWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(ScienceDirectionWithBLOBs record);

    int updateByPrimaryKey(ScienceDirection record);
    
    List<ScienceDirection> selectalldirections();
    
    void deldirection(@Param("sid")int sid,@Param("userid") int userid);
}